package com.itheima.service.Impl;

import com.itheima.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @param
 * @return
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    public void save(String username) {
        System.out.println("基本保存方法");
    }

    public void findUser() {
        System.out.println("基本查询所有方法");
    }

    public void findUser(int id) {
        System.out.println("基本根据id查询方法");
    }

    public int deleteById(int id) {
        System.out.println("基本删除方法");
        return id;
    }

    public void update(int id) {
        System.out.println("基本修改方法");
    }
}
